package com.example.crawlerjava.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 使用wormhole来分享文件数据
 */
@Data
@Component
@ConfigurationProperties(prefix = "upload.wormhole.config")
public class WormholeConfig {
    /**
     * 网站地址
     */
    private String wormholeUrl;
    /**
     * 默认的playwright配置路径
     */
    private String wormholePlaywright;
    /**
     * 上传的最大超时时间,毫秒
     */
    private Long uploadOutTime = 3000000L;
}
